// apiRfid/getBaseMatClass
//http
import { http } from '@/util/http.js'

//获取分类
export function getCat(){
	return http({url: '/apiRfid/getBaseMatClass', method: 'GET'})
}

//根据分类查货
export function goodListByCat(id){
	return http({
		url: `/apiRfid/getBaseMatList`, 
		method: 'GET',
		data:{
		'matClass':id,
		},
	})
}

//仓库列表
export function getWarehouse(){
	return http({
		url: `/apiRfid/getWarehouseList`, 
		method: 'GET',
	})
}

//打印标签
export function pringter(data){
	return http({
		url: `/apiRfid/insertTaskAndAmt`, 
		method: 'POST',
		data:data
	})
}


//打印标签
export function getEpcNumToInfo(data){
	return http({
		url: `/apiRfid/getEpcNumToInfo`, 
		method: 'GET',
		data:data
	})
}

//打印标签
export function sendPosition(data){
	return http({
		url: `/apiRfid/position`, 
		method: 'POST',
		data:data
	})
}